/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.google.code.netbuilder.dal.xmlaccess;

import com.google.code.netbuilder.dal.entities.Equipment;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Андрей
 */
@XmlType(name = "equipments")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "equipments")
class EquipmentAccessList implements IAccessList
{
    private ArrayList<Equipment> equipment;
    
    private EquipmentAccessList()
    {}
    
    public EquipmentAccessList(ArrayList<Equipment> eqs)
    {
        equipment = eqs;
    }
    
    @Override
    public ArrayList<Equipment> getList()
    {
        return equipment;
    }
}
